[INFO] cloning repository https://github.com/kodai12/toy_lisp_interpreter_in_rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kodai12/toy_lisp_interpreter_in_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkodai12%2Ftoy_lisp_interpreter_in_rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkodai12%2Ftoy_lisp_interpreter_in_rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 6c21ddc6c97868cf752c6b7b7d0293859e70b57e
[INFO] checking kodai12/toy_lisp_interpreter_in_rust against master#39323a5877ee6b85e75c652c2518a97a1433a2dc for pr-102593
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkodai12%2Ftoy_lisp_interpreter_in_rust" "/workspace/builds/worker-2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/kodai12/toy_lisp_interpreter_in_rust on toolchain 39323a5877ee6b85e75c652c2518a97a1433a2dc
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+39323a5877ee6b85e75c652c2518a97a1433a2dc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/kodai12/toy_lisp_interpreter_in_rust
[INFO] finished tweaking git repo https://github.com/kodai12/toy_lisp_interpreter_in_rust
[INFO] tweaked toml for git repo https://github.com/kodai12/toy_lisp_interpreter_in_rust written to /workspace/builds/worker-2/source/Cargo.toml
[INFO] crate git repo https://github.com/kodai12/toy_lisp_interpreter_in_rust already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+39323a5877ee6b85e75c652c2518a97a1433a2dc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d1cd00eb6e6ea2a7969240779edeaeff35b24be85036c63b883ba933028a15f" "/opt/rustwide/cargo-home/bin/cargo" "+39323a5877ee6b85e75c652c2518a97a1433a2dc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 4af4db9cc8e1f91d56f34e894011966e685d1dc2fefe8a745d341363e49cee21
[INFO] running `Command { std: "docker" "start" "-a" "4af4db9cc8e1f91d56f34e894011966e685d1dc2fefe8a745d341363e49cee21", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4af4db9cc8e1f91d56f34e894011966e685d1dc2fefe8a745d341363e49cee21", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4af4db9cc8e1f91d56f34e894011966e685d1dc2fefe8a745d341363e49cee21", kill_on_drop: false }`
[INFO] [stdout] 4af4db9cc8e1f91d56f34e894011966e685d1dc2fefe8a745d341363e49cee21
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d1cd00eb6e6ea2a7969240779edeaeff35b24be85036c63b883ba933028a15f" "/opt/rustwide/cargo-home/bin/cargo" "+39323a5877ee6b85e75c652c2518a97a1433a2dc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 5ac3ab535b3078425a669be641dff58d902a9a7ebff83f66bd2dda6bb6474fd9
[INFO] running `Command { std: "docker" "start" "-a" "5ac3ab535b3078425a669be641dff58d902a9a7ebff83f66bd2dda6bb6474fd9", kill_on_drop: false }`
[INFO] [stderr]     Checking tinylisp v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> src/main.rs:4:36
[INFO] [stdout]   |
[INFO] [stdout] 4 | type OpFn = fn(Vec<String>) -> Box<ToString>;
[INFO] [stdout]   |                                    ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]   = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]   = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]   |
[INFO] [stdout] 4 | type OpFn = fn(Vec<String>) -> Box<dyn ToString>;
[INFO] [stdout]   |                                    +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> src/main.rs:4:36
[INFO] [stdout]   |
[INFO] [stdout] 4 | type OpFn = fn(Vec<String>) -> Box<ToString>;
[INFO] [stdout]   |                                    ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]   = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]   = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]   |
[INFO] [stdout] 4 | type OpFn = fn(Vec<String>) -> Box<dyn ToString>;
[INFO] [stdout]   |                                    +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/main.rs:55:35
[INFO] [stdout]    |
[INFO] [stdout] 55 | fn plus(args: Vec<String>) -> Box<ToString> {
[INFO] [stdout]    |                                   ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 55 | fn plus(args: Vec<String>) -> Box<dyn ToString> {
[INFO] [stdout]    |                                   +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/main.rs:60:36
[INFO] [stdout]    |
[INFO] [stdout] 60 | fn minus(args: Vec<String>) -> Box<ToString> {
[INFO] [stdout]    |                                    ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 60 | fn minus(args: Vec<String>) -> Box<dyn ToString> {
[INFO] [stdout]    |                                    +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/main.rs:55:35
[INFO] [stdout]    |
[INFO] [stdout] 55 | fn plus(args: Vec<String>) -> Box<ToString> {
[INFO] [stdout]    |                                   ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 55 | fn plus(args: Vec<String>) -> Box<dyn ToString> {
[INFO] [stdout]    |                                   +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/main.rs:60:36
[INFO] [stdout]    |
[INFO] [stdout] 60 | fn minus(args: Vec<String>) -> Box<ToString> {
[INFO] [stdout]    |                                    ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 60 | fn minus(args: Vec<String>) -> Box<dyn ToString> {
[INFO] [stdout]    |                                    +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:32:32
[INFO] [stdout]    |
[INFO] [stdout] 32 |                 sub_stack.push(t.clone());
[INFO] [stdout]    |                           ---- ^^-----^^
[INFO] [stdout]    |                           |    | |
[INFO] [stdout]    |                           |    | help: try using a conversion method: `to_string`
[INFO] [stdout]    |                           |    expected struct `String`, found `&str`
[INFO] [stdout]    |                           arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:32:32
[INFO] [stdout]    |
[INFO] [stdout] 32 |                 sub_stack.push(t.clone());
[INFO] [stdout]    |                           ---- ^^-----^^
[INFO] [stdout]    |                           |    | |
[INFO] [stdout]    |                           |    | help: try using a conversion method: `to_string`
[INFO] [stdout]    |                           |    expected struct `String`, found `&str`
[INFO] [stdout]    |                           arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `String: Borrow<&str>` is not satisfied
[INFO] [stdout]   --> src/main.rs:33:37
[INFO] [stdout]    |
[INFO] [stdout] 33 |                 if ops.contains_key(&t) {
[INFO] [stdout]    |                        ------------ ^^ the trait `Borrow<&str>` is not implemented for `String`
[INFO] [stdout]    |                        |
[INFO] [stdout]    |                        required by a bound introduced by this call
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `Borrow<str>` is implemented for `String`
[INFO] [stdout] note: required by a bound in `HashMap::<K, V, S>::contains_key`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `String: Borrow<&str>` is not satisfied
[INFO] [stdout]   --> src/main.rs:33:37
[INFO] [stdout]    |
[INFO] [stdout] 33 |                 if ops.contains_key(&t) {
[INFO] [stdout]    |                        ------------ ^^ the trait `Borrow<&str>` is not implemented for `String`
[INFO] [stdout]    |                        |
[INFO] [stdout]    |                        required by a bound introduced by this call
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `Borrow<str>` is implemented for `String`
[INFO] [stdout] note: required by a bound in `HashMap::<K, V, S>::contains_key`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:41:24
[INFO] [stdout]    |
[INFO] [stdout] 41 |             stack.push((*tstr).to_string());
[INFO] [stdout]    |                   ---- ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |                   |    |
[INFO] [stdout]    |                   |    expected `&str`, found struct `String`
[INFO] [stdout]    |                   |    help: consider borrowing here: `&(*tstr).to_string()`
[INFO] [stdout]    |                   arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:43:24
[INFO] [stdout]    |
[INFO] [stdout] 43 |             stack.push(token.to_string());
[INFO] [stdout]    |                   ---- ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |                   |    |
[INFO] [stdout]    |                   |    expected `&str`, found struct `String`
[INFO] [stdout]    |                   |    help: consider borrowing here: `&token.to_string()`
[INFO] [stdout]    |                   arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:41:24
[INFO] [stdout]    |
[INFO] [stdout] 41 |             stack.push((*tstr).to_string());
[INFO] [stdout]    |                   ---- ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |                   |    |
[INFO] [stdout]    |                   |    expected `&str`, found struct `String`
[INFO] [stdout]    |                   |    help: consider borrowing here: `&(*tstr).to_string()`
[INFO] [stdout]    |                   arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:43:24
[INFO] [stdout]    |
[INFO] [stdout] 43 |             stack.push(token.to_string());
[INFO] [stdout]    |                   ---- ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |                   |    |
[INFO] [stdout]    |                   |    expected `&str`, found struct `String`
[INFO] [stdout]    |                   |    help: consider borrowing here: `&token.to_string()`
[INFO] [stdout]    |                   arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:48:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | fn evaluate(input: &str, ops: HashMap<String, OpFn>) -> String {
[INFO] [stdout]    |                                                         ------ expected `String` because of return type
[INFO] [stdout] ...
[INFO] [stdout] 48 |     stack.pop().unwrap()
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^- help: try using a conversion method: `.to_string()`
[INFO] [stdout]    |     |
[INFO] [stdout]    |     expected struct `String`, found `&str`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:48:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | fn evaluate(input: &str, ops: HashMap<String, OpFn>) -> String {
[INFO] [stdout]    |                                                         ------ expected `String` because of return type
[INFO] [stdout] ...
[INFO] [stdout] 48 |     stack.pop().unwrap()
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^- help: try using a conversion method: `.to_string()`
[INFO] [stdout]    |     |
[INFO] [stdout]    |     expected struct `String`, found `&str`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/main.rs:52:30
[INFO] [stdout]    |
[INFO] [stdout] 52 |     input.split_whitespace().collect().to_string()
[INFO] [stdout]    |                              ^^^^^^^ cannot infer type of the type parameter `B` declared on the associated function `collect`
[INFO] [stdout]    |
[INFO] [stdout] help: consider specifying the generic argument
[INFO] [stdout]    |
[INFO] [stdout] 52 |     input.split_whitespace().collect::<B>().to_string()
[INFO] [stdout]    |                                     +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/main.rs:52:30
[INFO] [stdout]    |
[INFO] [stdout] 52 |     input.split_whitespace().collect().to_string()
[INFO] [stdout]    |                              ^^^^^^^ cannot infer type of the type parameter `B` declared on the associated function `collect`
[INFO] [stdout]    |
[INFO] [stdout] help: consider specifying the generic argument
[INFO] [stdout]    |
[INFO] [stdout] 52 |     input.split_whitespace().collect::<B>().to_string()
[INFO] [stdout]    |                                     +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors; 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0282, E0308.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors; 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0282, E0308.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `tinylisp` due to 7 previous errors; 3 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `tinylisp` due to 7 previous errors; 3 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "5ac3ab535b3078425a669be641dff58d902a9a7ebff83f66bd2dda6bb6474fd9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5ac3ab535b3078425a669be641dff58d902a9a7ebff83f66bd2dda6bb6474fd9", kill_on_drop: false }`
[INFO] [stdout] 5ac3ab535b3078425a669be641dff58d902a9a7ebff83f66bd2dda6bb6474fd9
